/**
 * @author
 * @date 2015年12月19日 上午11:38:22
 * @version V1.0
 */
package com.hc.service.model;

import java.io.Serializable;

/**
 *
 *	用户表的model
 *
 * @author
 * @date 2015年12月19日 上午11:38:22
 */
public class UserModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号，主键，自动增长
     */
    private Long id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 密码
     */
    private String password;

    /**
     * 加密盐
     */
    private String salt = "ygfl";

    /**
     * 性别：2,未知；1，男；0，女
     */
    private Integer gender;

    /**
     * 格式为：2014-1-15
     */
    private String birthday;

    /**
     * 用户状态，0:正常，1:冻结 默认为0
     */
    private Integer status;

    /**
     * 签名
     */
    private String signature;

    /**
     * 专业
     */
    private String major;

    /**
     * 毕业时间
     */
    private String graduateDate;

    /**
     * 头像
     */
    private String portrait;

    /**
     * 手机
     */
    private String telephone;

    /**
     * 注册设备类型
     */
    private String registDeviceType;

    /**
     * 用户所在地区 格式为：上海-浦东新区
     */
    private String address;

    /**
     * 注册的渠道
     */
    private String registChannel;

    /**
     * APP的渠道
     */
    private String appChannel;

    /**
     * 第三方登录的open_id
     */
    private String openId;

    /**
     * 用户角色，0:普通用户，1:送货员，2：商家，3，管理员；4：超级管理员 默认为0
     */
    private Integer role;

    /**
     * 归属app的token
     */
    private String appToken;

    /**
     * 第三方IM的uid
     */
    private String chatUid;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }


    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }


    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }


    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }


    public String getGraduateDate() {
        return graduateDate;
    }

    public void setGraduateDate(String graduateDate) {
        this.graduateDate = graduateDate;
    }


    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }


    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }


    public String getRegistDeviceType() {
        return registDeviceType;
    }

    public void setRegistDeviceType(String registDeviceType) {
        this.registDeviceType = registDeviceType;
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    public String getRegistChannel() {
        return registChannel;
    }

    public void setRegistChannel(String registChannel) {
        this.registChannel = registChannel;
    }


    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }


    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }


    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }


    public String getAppToken() {
        return appToken;
    }

    public void setAppToken(String appToken) {
        this.appToken = appToken;
    }


    public String getChatUid() {
        return chatUid;
    }

    public void setChatUid(String chatUid) {
        this.chatUid = chatUid;
    }


    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }


    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }


}
